//
//  XLTextView.h
//  Current
//
//  Created by 于鹏 on 2017/8/23.
//  Copyright © 2017年 YIVIEW. All rights reserved.
//

#import <UIKit/UIKit.h>
@class XLTextView;
@protocol XLTextViewDelegate <NSObject>

- (void)xl_textView:(XLTextView *)textView updatedText:(NSString *)text;

@end


@interface XLTextView : UITextView<UITextViewDelegate>
@property (nonatomic, weak)id<XLTextViewDelegate>xl_textViewDelegate;
@property (nonatomic, strong) NSString *placeholder;//灰色提示字
@property (nonatomic, strong) UIColor *placeholderColor;//文字颜色
- (CGFloat)xl_textViewHeight;//文字高度
@end

